*********************************************************
*							*
*		          Cookie Script				*
*	Written By:	Joseph Skidmore			*
*	URL:		http://www.joe2torials.com/		*
*	E-Mail:		admin@joe2torials.com		*
*							*
*********************************************************

			READ ME


To use the guestbook script start by entering PHPMyAdmin on your CPanel
(if you have access to it) and  then  create a  database called  'guestbook'.
Once done,  click on the database name  which will open a new window, in
this window click on SQL and enter the following query;


CREATE TABLE `login` (
  `ID` int(11) NOT NULL auto_increment,
  `user` varchar(30) default NULL,
  `pass` varchar(30) default NULL,
  KEY `ID` (`ID`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;

INSERT INTO `login` VALUES (1, 'username', 'password');


NOTE: For added security it is a good idea to encrypt all passwords using an 
MD5 encryption,  my script is for  testing purposes only and for your own use 
on your  own  site you  should  protect  everything.  Remember  that  leaving 
passwords  unprotected  can  leave  you  vunerable  to  risks.    I  accept  no 
responsibility for any use of this script on someone elses site.


If you  wish to  edit the  query and  enter a  new username and password then
do  so if  you know  what you  are  doing.  Very  simple,  'username'  will be the
username to log in and 'password' is the password required for that username.
If you wish to add more users then simply add more lines like so;


INSERT INTO `login` VALUES (2, 'username2', 'password2');
INSERT INTO `login` VALUES (3, 'username3', 'password3');
Etc


Remember to  edit the  script to change the name of the cookie from 'Joe2Torials'
to the name of your site.  If you wish to re-distrubute this script could you please
send  me an E-mail and  let me know about  it  ... I  like to  know if my scripts are
doing well and if people like them :)


It is not compulsary but if you could link back to Joe2Torials that would be excellent
and much appreciated.


For all questions/comments/queries regarding this script or anything else feel free 
to contact me VIA my e-mail address above or you can head over to;
			http://forum.weborum.com/
As you can find me over there most of the time.


Regards,
Joseph Skidmore
http://www.joe2torials.com/